/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
function newProduct(inventoryId){
    $.ajax({
       url: '/Products/new',
       data: 'iid=' + inventoryId,
       success: function(html){
           $("#content").empty();
           $("#content").append(html);
       },
       error: function(jqXHR, textStatus, errorThrown){
            showInformation("Error al cargar formulario para nuevo producto: " + errorThrown)
        }
    });
}